import request from '@/utils/request'

export function getWeekCharging() {
  return request({
    url: '/station/weekCharging',
    method: 'get'
  })
}

export function getBatteryStatus() {
  return request({
    url: '/station/batteryStatus',
    method: 'get'
  })
}

export function getStatData() {
  return request({
    url: '/station/statData',
    method: 'get'
  })
}

export function getWarningRank() {
  return request({
    url: '/station/warningRank',
    method: 'get'
  })
}

export function getConnectRank() {
  return request({
    url: '/station/connectRank',
    method: 'get'
  })
}

export function getDisChargeRank() {
  return request({
    url: '/station/dischargeRank',
    method: 'get'
  })
}

export function getUserInfo() {
  return request({
    url: '/station/userInfo',
    meethod: 'get'
  })
}

export function getStationInfo() {
  return request({
    url: '/station/stationInfo',
    method: 'get'
  })
}

export function getWarningRecord() {
  return request({
    url: '/station/warningRecord',
    method: 'get'
  })
}

export function getSlaveTable() {
  return request({
    url: '/station/slaveTable',
    method: 'get'
  })
}

export function getConnectRecord() {
  return request({
    url: '/station/connectRecord',
    method: 'get'
  })
}

export function getCollectRecord() {
  return request({
    url: '/station/collectRecord',
    method: 'get'
  })
}
